package com.example.jpa.crud.exception;

public class UnknownFieldException extends RuntimeException {

    private final String field;

    public String getField() {
        return field;
    }

    public UnknownFieldException(String field) {
        super("unknown field '" + field + "'");
        this.field = field;
    }

}
